Adwaita: Put column separators on the left
authorMatthias Clasen <mclasen@redhat.com>
Mon, 19 Oct 2020 13:37:20 +0000 (09:37 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 19 Oct 2020 13:39:05 +0000 (09:39 -0400)
When resizing columns, we clip a shrunk column
on the right, so the separator disappears in that
case unless we put it on the left side of the other
column.

gtk/theme/Adwaita/_common.scss

index 212ee4ae078c9c77bbe852d082734349f47185dc..59d57f9259d4e36333c610646094ba821896c3b3 100644 (file)
@@ -1772,7 +1772,7 @@ treeview.view {
 %column_header_button {
   padding: 0 6px;
   background-image: none;
-  border-style: none solid solid none;
+  border-style: none none solid solid;
   border-color: $_treeview_borders_color;
   border-radius: 0;
   text-shadow: none;
@@ -3141,15 +3141,15 @@ columnview {
     > cell {
       padding: 8px 6px;
 
-      &:not(:last-child) {
-        border-right: 1px solid transparent;
+      &:not(:first-child) {
+        border-left: 1px solid transparent;
       }
     }
   }
 
   // make column separators visible when :show-column-separators is true
   &.column-separators > listview > row > cell {
-    border-right-color: $_treeview_borders_color;
+    border-left-color: $_treeview_borders_color;
   }
 
   // shrink vertically for .data-table